#import <UIKit/UIKit.h>
#import "BaseUIViewController.h"

@protocol JokeActionBarDelegate;

@interface JokeActionBar : UIView {
    IBOutlet UIButton           *commentBtn;
    IBOutlet UIButton           *favoriteBtn;
    IBOutlet UIButton           *shareBtn;
    IBOutlet UIButton           *leftBtn;
    IBOutlet UIButton           *rightBtn;
}

@property (assign, nonatomic) id<JokeActionBarDelegate>     owner;

- (IBAction)pressCommentBtn:(id)sender;
- (IBAction)pressFavoriteBtn:(id)sender;
- (IBAction)pressShareBtn:(id)sender;

- (void)start:(id<JokeActionBarDelegate> )pOwner;
@end

@protocol JokeActionBarDelegate <NSObject>
@optional
- (void)JABcomment;                     //弹出评论键盘
- (void)JABfavorite;                    //收藏
- (void)JABshare;                       //分享
@end
